<template>
  <el-table-column
      :label="label"
      :prop="prop"
      :width="width || ''"
      :header-align="headerAlign"
      :align="align"
      :fixed="fixed"
      :min-width="minWidth"
  >
  </el-table-column>
</template>

<script>
export default {
  name: "TextColumn",
  props: {
    label: {
      type: String,
      default() {
        return ''
      }
    },
    prop: {
      type: String,
      default() {
        return ''
      }
    },
    width: {
      type: String,
      default() {
        return ''
      }
    },
    minWidth: String,
    headerAlign: {
      type: String,
      default() {
        return ''
      }
    },
    align: {
      type: String,
      default() {
        return 'center'
      }
    },
    fixed: String
  }
}
</script>

<style scoped>

</style>
